package com.campus.backend.vo.feedback;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 意见反馈VO
 *
 * @author System
 * @since 2025-01-27
 */
@Data
@ApiModel(description = "意见反馈视图对象")
public class FeedbackVo {

    @ApiModelProperty("反馈ID")
    private Integer id;

    @ApiModelProperty("用户ID")
    private Integer userId;

    @ApiModelProperty("用户类型：1-顾客，2-商户，3-配送员")
    private Integer userType;

    @ApiModelProperty("用户类型名称")
    private String userTypeName;

    @ApiModelProperty("反馈类型ID")
    private Long typeId;

    @ApiModelProperty("反馈类型名称")
    private String typeName;

    @ApiModelProperty("反馈内容")
    private String content;

    @ApiModelProperty("图片URL，多个以逗号分隔")
    private String images;

    @ApiModelProperty("联系方式")
    private String contact;

    @ApiModelProperty("状态：0-未处理，1-已处理")
    private Integer status;

    @ApiModelProperty("状态名称")
    private String statusName;

    @ApiModelProperty("处理备注")
    private String handleRemark;

    @ApiModelProperty("处理时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime handelTime;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;

    @ApiModelProperty("更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime updateTime;
}